﻿@using DirectSell.Model.User
@model UserInforMationDetails
<table width="98%" align="left" cellpadding="0" cellspacing="0" id="treeform">
    <tbody>
        <tr>
            <td>
                <table width="100%" class="table-responsive" border="0" cellspacing="0" cellpadding="0">
                    <tbody>
                        <tr>
                            <td colspan="4" align="center">
                                <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                    <tbody>
                                        <tr><th colspan="2"><a title="2"><strong>@Model.UserName</strong></a></th></tr>
                                        <tr><td colspan="2" id="td111">@Model.UserCode</td></tr>
                                        <tr><td colspan="2">@Model.LevelName</td></tr>
                                        <tr><td colspan="2">@Model.UserStatus</td></tr>
                                        <tr>
                                            <td width="50%">1</td>
                                            <td width="50%">1</td>
                                        </tr>
                                        <tr>
                                            <td width="50%">1</td>
                                            <td width="50%">1</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" align="center">
                                <img src="~/DirectSellJs/images/line_1.jpg" width="50%" height="23" />
                            </td>
                        </tr>
                        <tr>
                            <!--第二层左-->
                            @{var left1 = ViewBag.Left1 as UserInforMationDetails;}
                            @if (left1 != null)
                            {
                                <td colspan="2" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr><th colspan="2"><a onclick="Hopping('@left1.UserCode')" href="#" title="2"><strong>@left1.UserName</strong></a></th></tr>
                                            <tr><td colspan="2">@left1.UserCode</td></tr>
                                            <tr><td colspan="2">@left1.LevelName</td></tr>
                                            <tr><td colspan="2">@left1.UserStatus</td></tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            }
                            else
                            {
                                <td colspan="2" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr><th colspan="2"><a href="/User/Jurisdiction/Index?ConTactCode=@Model.UserCode&Area=1" title="2"><strong>点击注册</strong></a></th></tr>
                                            <tr><td colspan="2">虚位以待</td></tr>
                                        </tbody>
                                    </table>
                                </td>
                            }

                            <!--第二层右-->
                            @{ var right1 = ViewBag.Right1 as UserInforMationDetails;}
                            @if (right1 != null)
                            {
                                <td colspan="2" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr><th colspan="2"><a  onclick="Hopping('@right1.UserCode')" href="#" title="2"><strong>@right1.UserName</strong></a></th></tr>
                                            <tr><td colspan="2">@right1.UserCode</td></tr>
                                            <tr><td colspan="2">@right1.LevelName</td></tr>
                                            <tr><td colspan="2">@right1.UserStatus</td></tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            }
                            else
                            {
                                <td colspan="2" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr><th colspan="2"><a href="/User/Jurisdiction/Index?ConTactCode=@Model.UserCode&Area=2" title="2"><strong>点击注册</strong></a></th></tr>
                                            <tr><td colspan="2">虚位以待</td></tr>
                                        </tbody>
                                    </table>
                                </td>
                            }

                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                <img src="~/DirectSellJs/images/line_2.jpg" width="50%" height="23" />
                            </td>
                            <td colspan="2" align="center">
                                <img src="~/DirectSellJs/images/line_2.jpg" width="50%" height="23" />
                            </td>
                        </tr>

                        <tr>
                            @{ var left2_1 = ViewBag.left2_1 as UserInforMationDetails;}
                            @if (left2_1 != null)
                            {
                                <td width="25%" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr><th colspan="2"><a onclick="Hopping('@left2_1.UserCode')" href="#" title="2" ><strong>@left2_1.UserName</strong></a></th></tr>
                                            <tr><td colspan="2">@left2_1.UserCode</td></tr>
                                            <tr><td colspan="2">@left2_1.LevelName</td></tr>
                                            <tr><td colspan="2">@left2_1.UserStatus</td></tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            }
                            else
                            {
                                <td width="25%" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            @if (left1 != null)
                                            {
                                                <tr><th colspan="2"><a href="/User/Jurisdiction/Index?ConTactCode=@left1.UserCode&Area=1" title="2"><strong>点击注册</strong></a></th></tr>
                                            }
                                            else
                                            {
                                                <tr><th colspan="2"><a href="/User/Jurisdiction/Index?ConTactCode=@Model.UserCode&Area=1" title="2"><strong>点击注册</strong></a></th></tr>
                                            }
                                            <tr><td colspan="2">虚位以待</td></tr>
                                        </tbody>
                                    </table>
                                </td>
                            }


                            @{ var left2_2 = ViewBag.left2_2 as UserInforMationDetails;}
                            @if (left2_2 != null)
                            {
                                <td width="25%" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr><th colspan="2"><a href="#" onclick="Hopping('@left2_2.UserCode')" title="2"><strong>@left2_2.UserName</strong></a></th></tr>
                                            <tr><td colspan="2">@left2_2.UserCode</td></tr>
                                            <tr><td colspan="2">@left2_2.LevelName</td></tr>
                                            <tr><td colspan="2">@left2_2.UserStatus</td></tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            }
                            else
                            {
                                <td width="25%" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            @if (left1 != null)
                                            {
                                                <tr><th colspan="2"><a href="/User/Jurisdiction/Index?ConTactCode=@left1.UserCode&Area=2" title="2"><strong>点击注册</strong></a></th></tr>
                                            }
                                            else
                                            {
                                                <tr><th colspan="2"><a href="/User/Jurisdiction/Index?ConTactCode=@Model.UserCode&Area=1" title="2"><strong>点击注册</strong></a></th></tr>
                                            }
                                            <tr><td colspan="2">虚位以待</td></tr>
                                        </tbody>
                                    </table>
                                </td>
                            }

                            @{ var right2_1 = ViewBag.right2_1 as UserInforMationDetails;}
                            @if (right2_1 != null)
                            {
                                <td width="25%" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr><th colspan="2"><a  onclick="Hopping('@right2_1.UserCode')" href="#" title="2"><strong>@right2_1.UserName</strong></a></th></tr>
                                            <tr><td colspan="2">@right2_1.UserCode</td></tr>
                                            <tr><td colspan="2">@right2_1.LevelName</td></tr>
                                            <tr><td colspan="2">@right2_1.UserStatus</td></tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            }
                            else
                            {
                                <td width="25%" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            @if (right1 != null)
                                            {
                                                <tr><th colspan="2"><a href="/User/Jurisdiction/Index?ConTactCode=@right1.UserCode&Area=1" title="2"><strong>点击注册</strong></a></th></tr>
                                            }
                                            else
                                            {
                                                <tr><th colspan="2"><a href="/User/Jurisdiction/Index?ConTactCode=@Model.UserCode&Area=1" title="2"><strong>点击注册</strong></a></th></tr>
                                            }
                                            <tr><td colspan="2">虚位以待</td></tr>
                                        </tbody>
                                    </table>
                                </td>
                            }
                            @{ var right2_2 = ViewBag.right2_2 as UserInforMationDetails;}
                            @if (right2_2 != null)
                            {
                                <td width="25%" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr><th colspan="2"><a onclick="Hopping('@right2_2.UserCode')" href="#" title="2"><strong>@right2_2.UserName</strong></a></th></tr>
                                            <tr><td colspan="2">@right2_2.UserCode</td></tr>
                                            <tr><td colspan="2">@right2_2.LevelName</td></tr>
                                            <tr><td colspan="2">@right2_2.UserStatus</td></tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                            <tr>
                                                <td width="50%">1</td>
                                                <td width="50%">1</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            }
                            else
                            {
                                <td width="25%" align="center">
                                    <table class="t_info" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            @if (right1 != null)
                                            {
                                                <tr><th colspan="2"><a href="/User/Jurisdiction/Index?ConTactCode=@right1.UserCode&Area=2" title="2"><strong>点击注册</strong></a></th></tr>
                                            }
                                            else
                                            {
                                                <tr><th colspan="2"><a href="/User/Jurisdiction/Index?ConTactCode=@Model.UserCode&Area=2" title="2"><strong>点击注册</strong></a></th></tr>
                                            }
                                            <tr><td colspan="2">虚位以待</td></tr>
                                        </tbody>
                                    </table>
                                </td>
                            }


                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                        </tr>
                    </tbody>
                </table>
            </td>
        </tr>
    </tbody>
</table>